package cn.edu.uestc.cwdsj.domain;

import java.io.Serializable;

public class Project implements Serializable{
    private String code;
    private String name;
//    private String pcode;
//    private String pcode2;
//    private String attr1;
//    private String attr2;
//    private String attr3;
//    private String attr4;
//    private String spec1;
//    private String spec2;
//    private String spec3;
//    private String spec4;
//    private String spec5;
//    private String spec6;
//    private Long price;
//    private String remark;
//    private String refSrcCo;
//    private String tCode;
//    private String namePrefi;
    private String chargeSno;
    private String chargeNam;
//    private String startYear;
//    private String closeYear;
//    private String validity;
//    private String createDat;
//    private String finishDat;
//    private String mark;
//    private String name1;
//    private String name2;
//    private String spec7;
//    private String spec8;
//    private String spec9;
//    private String spec10;
//    private String saF01;
//    private String saF02;
    private String saF03;
//    private String saF04;
//    private String saF05;
//    private String saF06;
//    private String saF07;
//    private String saF08;
//    private String saF09;
//    private String saF10;
//    private String saF11;
//    private String saF12;
//    private String saF13;
//    private String saF14;
//    private String saF15;
//    private String saF16;
//    private String saF17;
//    private String saF18;
//    private String saF19;
//    private String saF20;
    private String saDepart;
//    private String saSrc;
//    private String saUse;
//    private String saPrjtype;
//    private String srNodeNo;
//    private String zcNodeNo;
//    private String priPrj;
//    private String depRemark;
//    private String ttype;
//    private String ysProj;
//    private String attach;
//    private Long signimg;
//    private String xmfl;
//    private String tzfl;
//    private String kgrq;
//    private String jgrq;
//    private Long jhtz;
//    private Long jzmj;
//    private String xmgm;
//    private String xmxz;
//    private String xmlx;
//    private String xmgc;
//    private String jgf;
//    private String pff;


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getChargeSno() {
        return chargeSno;
    }

    public void setChargeSno(String chargeSno) {
        this.chargeSno = chargeSno;
    }

    public String getChargeNam() {
        return chargeNam;
    }

    public void setChargeNam(String chargeNam) {
        this.chargeNam = chargeNam;
    }

    public String getSaF03() {
        return saF03;
    }

    public void setSaF03(String saF03) {
        this.saF03 = saF03;
    }

    public String getSaDepart() {
        return saDepart;
    }

    public void setSaDepart(String saDepart) {
        this.saDepart = saDepart;
    }

    public boolean equals(Object object) {
        if (this == object) return true;
        if (object == null || getClass() != object.getClass()) return false;
        if (!super.equals(object)) return false;

        Project project = (Project) object;

        if (!code.equals(project.code)) return false;
        if (!name.equals(project.name)) return false;
        if (!chargeSno.equals(project.chargeSno)) return false;
        if (!chargeNam.equals(project.chargeNam)) return false;
        if (!saF03.equals(project.saF03)) return false;
        if (!saDepart.equals(project.saDepart)) return false;

        return true;
    }

    public int hashCode() {
        int result = super.hashCode();
        result = 31 * result + code.hashCode();
        result = 31 * result + name.hashCode();
        result = 31 * result + chargeSno.hashCode();
        result = 31 * result + chargeNam.hashCode();
        result = 31 * result + saF03.hashCode();
        result = 31 * result + saDepart.hashCode();
        return result;
    }
}
